﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class PhieumuonControl
    {
        private PhieumuonDataAccess pmdata = new PhieumuonDataAccess();
        public void insertphieumuon(PhieumuonInfo info)
        {
            pmdata.insertphieumuon(info);
        }
        public DataTable laydsphieumuon()
        {
            return pmdata.laydsphieumuon();
        }
        public DataTable sachchoctpm()
        {
            return pmdata.sachchoctpm();
        }
        public DataTable madgpts()
        {
            return pmdata.madgpts();
        }
        public void giahansach()
        {
            pmdata.ghsach();
        }
        public void giahansachpms()
        {
            pmdata.ghsachpms();
        }
        public DataTable ngaymuon()
        {
            return pmdata.ngaymuon();
        }
    }
}
